package com.core.system.dto;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotEmpty;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;

/**
 * 接口编号表
 */
@JsonInclude(value = JsonInclude.Include.NON_NULL)
public class ApicodeDto implements Serializable{
	/** 接口名称 */
    @Length(max =100 ,message = "长度不能超过100位")
	private String apiName;
	/** 接口编号 */
    @Length(max =80 ,message = "长度不能超过80位")
	private String apicode;
	/** 创建部门 */
	private Long createDept;
	/** 创建时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;
	/** 创建人 */
	private Long createUser;
	/** 主键 */
	private Long id;
	/** 是否已删除 */
	private Integer isDeleted;
	/** 所属模块 */
    @Length(max =30 ,message = "长度不能超过30位")
	private String module;
	/** 备注信息 */
	private String remark;
	/** 数据签名 */
    @Length(max =32 ,message = "长度不能超过32位")
	private String sign;
	/** 状态 */
	private Integer status;
	/** 表名 */
    @Length(max =30 ,message = "长度不能超过30位")
	private String tablename;
	/** 修改时间 */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date updateTime;
	/** 修改人 */
	private Long updateUser;

	public void setApiName(String apiName) {
		this.apiName = apiName;
	}
	
	public String getApiName() {
		return this.apiName;
	}
	public void setApicode(String apicode) {
		this.apicode = apicode;
	}
	
	public String getApicode() {
		return this.apicode;
	}
	public void setCreateDept(Long createDept) {
		this.createDept = createDept;
	}
	
	public Long getCreateDept() {
		return this.createDept;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	public Date getCreateTime() {
		return this.createTime;
	}
	public void setCreateUser(Long createUser) {
		this.createUser = createUser;
	}
	
	public Long getCreateUser() {
		return this.createUser;
	}
	public void setId(Long id) {
		this.id = id;
	}
	
	public Long getId() {
		return this.id;
	}
	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}
	
	public Integer getIsDeleted() {
		return this.isDeleted;
	}
	public void setModule(String module) {
		this.module = module;
	}
	
	public String getModule() {
		return this.module;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	public String getRemark() {
		return this.remark;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	
	public String getSign() {
		return this.sign;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Integer getStatus() {
		return this.status;
	}
	public void setTablename(String tablename) {
		this.tablename = tablename;
	}
	
	public String getTablename() {
		return this.tablename;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
	public Date getUpdateTime() {
		return this.updateTime;
	}
	public void setUpdateUser(Long updateUser) {
		this.updateUser = updateUser;
	}
	
	public Long getUpdateUser() {
		return this.updateUser;
	}

	
    
    @Override
    public String toString() {
        return "Apicode{" +
		"apiName=" + apiName +
		",apicode='" + apicode + "'" + 
		",createDept='" + createDept + "'" + 
		",createTime='" + createTime + "'" + 
		",createUser='" + createUser + "'" + 
		",id='" + id + "'" + 
		",isDeleted='" + isDeleted + "'" + 
		",module='" + module + "'" + 
		",remark='" + remark + "'" + 
		",sign='" + sign + "'" + 
		",status='" + status + "'" + 
		",tablename='" + tablename + "'" + 
		",updateTime='" + updateTime + "'" + 
		",updateUser='" + updateUser + "'" + 
                '}';
    }
	
}